Door latch problem

I'm surprised it's not laying at the bottom of the door.