objects are now contaied to the canvas element boundaries