fixes bug with reversed entering elements firing too early