Pixel-perfect canvas dimensions. Added basic collision detection that needs tweaking.