Stage-edge fix

The collision will still work regardless of the dimensions of the stage.