doesn't draw object outside screen