Found mouse up and down issue. Resolved it by forcing python to wait fraction of a second