Add optional x,y,w,h parameters to input enable.

By adding these optional parameters the input area can be limited to only part of the canvas.