Fixed crash in osgQtQuick

stack can be NULL in certain occasions which causes crashes.