Selection frame bugfix