It's a problem of the latest dosbox release, I guess it'll probably be solved in the next version.
The only way I know of solving the problem is by booting the game not in full screen mode, then hit alt-enter to switch to full screen, kinda annoying, but it works, at least it works for me