Drawing sprite bug fixed