Added trapdoor cursor Y detection