res:dock:: fix preview is not shown.

scope problem, `this` gets wrong reference.

Change-Id: I3cfb0b310901c875b13606307ed4c984ed337627