Improve dim effect for pause menu.