Fix wrong height value on iOS Safari

Bug details: http://bugs.jquery.com/ticket/6724