translated bitmap coordinates correctly