Fix for Qt UI