Fix behavior on platforms supporting real -ms-grid