Fixed a bug with multiple widgets being selected at once.