Removes badly done Square rendering code