Fixed display problem when editing labels in Webkit