fix bug with overwriting unmodified sprites