Fixed overflow in simple UI mode