fixed null pointer by initializing with drawOnStage