Fixed IE10 bug. Just don't know how