Fix bug that last drawable object lost when bring tools panel front.

Change-Id: I8a6eaf9f488092a861e73ba58c594b100e9bd8aa