updated bounds to use scaled canvas width and height