fixed bug with disappearing character sprites