fixes layer not visible after fulltextsearch result selection

Fix for #450.

@sbrunner fix proposal looks good, tests still pass.