Mouse cursor depth-test fix.