fixed the bug where the background-layer appeared as frontmost layer
(issue #11)