Thanks!
Yeah, FNAF:Purgatory has some difficult gameplay moments due to how the code is set up. I've (hopefully) fixed most of the animatronic behavior in the sequel: FNAF:Purgatory 2
I'll probably fix animatronic behavior in FNAF:Purgatory at a later point, probably after FNAF:Purgatory 2 is at version 1.0.0.