Fix Minimize works once only (Issue #258)

Set Focus on keyboard enter instead of pointer enter.
Reset minimized and visible states on activation.