added mask patch and support for it
fixed camera and mask positioning