Scale the pixmap appropriately