Improve login mask, plaing cursor to first input field

When using Firefox to log in, I noticed that the cursor is not in the first input field (i.e.: username). When Using KeePass and “auto type” to log in, the key strokes will be sent to somewhere else instead of the login fields.