Fix widthAuto, heightAuto - disable grid layout at the time of calculating original dimensions #1