Collision and custom rect works