What I expected to happen was...:
Hostile mobs should try to escape the space between the trapdoors by jumping to attack the player, or passive mobs should try to run when they are damaged
What actually happened was...:
The mobs dont jump, and stay trapped on the confined space
Duplicate of MC-50556