gui: Fix some rendering issues.