Fixed scene manager errors