Added math.floor to keyboard scrolling in editor: avoid graphical glitches