Fix scrolling exception on 10.8