The only way I can seem to stun Foxy is to open up the cams until the little puff of static sound goes away, then you're good to flip it down rather than rapidly doing it.
Also you can use spacebar as a hotkey for camera's to bypass the small amount of downtime from using the camera.