More IE10 compatibility fixes

The only thing still broken as of this patch set (as far as I'm aware) is range selection using the mouse. Virtual cursors still do not render or behave in an ideal fashion in IE.