Fix some minor bugs level and move code that should of been in scene from level