Use backgroundShapes instead of shape.locked to make backgrounds
Use theoretically correct touch coordinates