Move your work farther from the edge of the machine.
When you scan (fill) something, the laser head needs space to accelerate up to speed at the beginning of the scan line and to decelerate to 0 and change direction at the end. This additional head travel past the boundaries of your drawing are the “extend space” and depending on your speed and acceleration may be an inch or more.
The controller thinks you are going to crash past the machine boundaries on the green layer (which is your widest fill layer).
It doesn’t happen on the red cut (line) layer because the laser follows that path exactly and doesn’t scan beyond it.