Fix "select all" checkbox displacement when checked, fix #4571

Fix #4571