@kazarnowicz Sorry but I really can't help you with that. The best place to ask that is probably on https://github.com/mastodon/mastodon/discussions
I don't develop Mastodon and haven't done any testing with image position and size on those locations. Sorry.
@mastohost Thanks, I'll check with them. It's likely a bug, at least in one case.