Fixed fatal error related to workspace rotation feature