glitch sprite fix for flash taget