fixed positioning bug in derezpreview