do not call setCurrentStackFrame twice on frame mouse click

(cherry picked from commit 82b4bd75a314c8cd603ba074d8faf2a49714487a)