Are you certain that there will always be a scale defined before a resize event arrives?