Tried making embedded app focused when panel got focus