Fix wrong height value on iOS Safari in iPad

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