add sprite masking to transition