fixing dirty sprites