close sprite bug fix