Fixed css displayPanel bug