Apply again patch for special meaning of negative size for panel

From: https://github.com/Razor-qt/razor-qt/pull/651