Fixed weird rendering issue