fixed plotting on top of image