opencl: fix border handling in lens correction module

also apply similar changes to clipping module
masks: fix ellipse shape display for small sizes