Accn Bug Fix and Boundary Implementation

Fixed the bug where the rectangle would accelerate if the key was held
down, and bounded the rectangle's movement to the canvas