[DF-1562] Fixed crash with reloading of sprites