added editor screen offsetting