Fix to prevent translate when top/left is auto