panel: Only consider St.Widgets for corner buttons
We cannot syncronize styles with plain Clutter.Actors, so don't return them when looking for corner buttons.
This is a sanitized version of !539 (closed), as the branch doesn't give us permissions to make changes.
Edited by Florian Müllner