The photos look like perhaps the latches aren't close enough to to corner of the door and the snake is able to bow the corner out and squeeze through. You could make a new door using thicker, sturdier Plexiglas or add more latches to the existing door.