res:dock:: fix preview window problem.

the operation which calculates the size and opsition of preview window gets
wrong order on embed_window_configure_request signal handler.