Added style WS_VISIBLE to fix focus issue.

Fixes #313.