fixed bugs about visibility of resizer