Right-align image preview. Fixes #2315