Grate shake bug fix