Bugfix in Vector2:getXY()
Added garbagecollect calls to the game loop.

This will keep the weak tables clean of deleted objects.