fixed keys in main menu and fixed cubic bezier curves