Fixes error #21

Fixed window geometry error caused by QQuick2 component.