Fixes scrolling issue when combined with mac keyboard and simulator keyboard