Fix gaps in rendering