Fix sprite horizontal scroll bug