UI scaling fixes