Fixed bug in Panel Lifting mechanism.

Fixed infinite loop bug in Panel Lifting mechanism causing several
exception in watching browsers.