It could be a bug on Blender. Try downloading the latest version of Blender and if you already have the latest one, then download the previous version, because there is a good chance that the bug isn’t there if it is a bug. So in other words, download different Blender versions and try it out to see if it works properly.