fix scene nullpointer