Adding to 2D collision tests