Performance issue when sprites have negative frame delays

Created by: christopho

If you set a negative frame_delay value to a sprite sheet (which is illegal), the engine will update its frame more and more, leading to performance degradation.
Some sprites of existing games have this problem, they were created by hand before the sprite editor.