Still having problems with the collision algorithm, even after trying to implement the AABB algorithm. Game is playable, but crashes sometimes.