fixed mainloop ESC key & angle