Improved error message for empty scene stack