Fixed forceOut function - might need to check if against a boundary