Coordinates should use bitmap width and height, not just width