Fix bug with this binding to wrong object