Fixes browken rendering