Haven't fixed the bug but it looks a bit cleaner On second thought the best solution is probably a mask