Fixed overlay issue

Fixed overlay issue
Merge pull request #40 from shawnbuso/overlay_fix

Fixed overlay issue