Make sure all mounting screws on latch components are positioned optimally and are snug. One of mine hung up once, but after I eventually got it free I found a missing latch screw. Slamming bay doors can break or loosen the screws, so of course we try to never do that. If yours is finicky now it will frustrate you again down the road if no preventive action is taken. At least make sure the latch mechanism and “bolt” are lubed. I prefer dry silicone wherever possible to restrict dirt accumulation, but WD-40 and similar wet products penetrate where dry silicone doesn’t.
Joel