removed reuse of vector on viewport
input has lastClick to be used for validating clicks
fixing test