Adds draw logic.