Fixed bug in how visuals are drawn.