Adjust UI and fix engine pause bug ( set frame delta time if it's zero)