Add support to compile with MSVC 64bits

It's not ready, the program crashes when it starts, but at least we can
compile for 64bits.
Fix issue 374: Selection is distorted when it's moved and RotSprite is on

Don't use RotSprite until the angle or the size of the image is changed.