Fixes the problem with Panels