prevent targets from appearing partially off screen