Trying to get the scaling correct and pre and post rendering map.