fix preset grid inspect buttons for firefox

fixes #1191