More IE10 compatibility fixes