Got collision detection working again, adding top, bottom, left, right to the where property of the collision object