Funny story about how I know this one. Put a mask in your item tool belt, switch jobs using the arrows, click the mask quickly, then press X to close out of it.
It usually works, though it can take a few attempts before it triggers.