Calculate the position of images taking account of the rotational offset

If there are StyleMaps with external graphics and rotations, there will be an wrong calculated offset. This offset will now be fixed.