Fix costume glitch for null costumes