ScriptableImage: fix converting 'false' to pointer type 'QObject*' warning