Finally fix the shaky shadow bug.