Fix UI bug where a small triangular shadow would appear