Fix charts position in case of device rotation.