sprite ending fixes