fixed bug with thumbBmp disposing

fixed bug with thumbBmp disposing