Added a hook so that you can draw before the transform takes place