Fixed an issue where sprites color would be wrong