fixed pixel bugs in dying animation