Fixed bug that TipLayer was masked by Dialog

Fixed bug that TipLayer was masked by Dialog