Fixet problem with static sprite file for entity