Fix small rendering artifacts