Resolve an issue on sprite position