Port View to Input Engine

Add port view to InputEngine solved cursor position problem