Fixed the problem with flashing panel