Although not a major issue it might be nice if someone were to make the collision system a bit more efficient by checking the distances first and exiting early instead of doing all the line intersection calculations.
This commit is open for anyone to take up, just post a comment on here.