Fixed reverse projection issue for shadow mapping and fast-toggling controls