Instead of gridmap editor calling grid as floor irrespective of the orientation, it now calls the grid plane if it's vertical and floor if horizontal. Resolves: #14611 (cherry picked from commit 7c356a9c0514bdb184aac651117f0e542baccfc4)