fix a notebook animation that leave a ghost of unmapped window