Implemented SetWindowMargins and support for keeping aspect ratio of games.
Fixed bad collision mask when using a sprite with an origin not at point 0;0.