bugfix 4750: bounding box wasn't placed correctly
bugfix 4747: moving image on repaint event