An apparatus for displaying a moving region of interest located within a body, comprising: means for generating a time-varying spatial motion compensation function comprising a vector displacement based on the motion of the region of interest for taking account for the motion of the region of interest; a positioning system configured to determine a position of a medical device,, said positioning system further including a first localization sensor (24 1) configured to be placed in the vicinity of the moving region of interest such that the sensor moves with the region of interest, wherein said positioning system is further configured to track both motion of the first localization sensor (24 1) and motion of the medical device; means for verifying a level of correlation between the motion of the medical device and motion of the first localization sensor (24 1) means for correcting the determined position of the medical device in case that a correlation between the tracked motions of the first localization sensor and the medical device exceeds a threshold by using the motion compensation function to form a corrected position to thereby compensate for the motion of the region of interest between a first time at which the region of interest is acquired according to an imaging modality and a second time at which the position of the medical device was determined, such that the corrected position of the medical device matches a corresponding position of the medical device at the first time, wherein the first time is prior to the second time, and means for superimposing a representation of the medical device on the acquired region of interest in accordance with the corrected position. means for generating a time-varying spatial motion compensation function comprising a vector displacement based on the motion of the region of interest for taking account for the motion of the region of interest; a positioning system configured to determine a position of a medical device,, said positioning system further including a first localization sensor (24 1) configured to be placed in the vicinity of the moving region of interest such that the sensor moves with the region of interest, wherein said positioning system is further configured to track both motion of the first localization sensor (24 1) and motion of the medical device; means for verifying a level of correlation between the motion of the medical device and motion of the first localization sensor (24 1) means for correcting the determined position of the medical device in case that a correlation between the tracked motions of the first localization sensor and the medical device exceeds a threshold by using the motion compensation function to form a corrected position to thereby compensate for the motion of the region of interest between a first time at which the region of interest is acquired according to an imaging modality and a second time at which the position of the medical device was determined, such that the corrected position of the medical device matches a corresponding position of the medical device at the first time, wherein the first time is prior to the second time, and means for superimposing a representation of the medical device on the acquired region of interest in accordance with the corrected position.