Fixed bug in UsePanel