Fix sprite variables