fix #19 overlay positioning