Update graphics after mouse release

This ensures that the selection is redrawn correctly