Panel bugfixes