Reimplemented resize in terms of overlay
Removed draw and replaced with direct awt