Fixed visualization from resizing and color changes