Fix rectcollidablestate collision detection