Fixed bugs where (int)'s were supposed to be (float)'s

Also fixed a bug where the maze-editor didn't draw the transparent
background for the pauze menu, because the projection was wrong