Overlay rendering refactoring to simplify creating new overlay items and allow groups moving