Slice frames allow users to identify in 3D views which slice view an image corresponds to. In the future, the frame will be interactive, so that you will be able to click and drag it to translate or rotate the slice. It is a feature, not a bug, because it can be turned off, as described here.
If you cannot hide a slice frame then please provide detailed list of steps to reproduce it and we’ll investigate.